package lambda;

/**
 * @Author com.alibaba.lizhen
 * @Date 2021/3/23 10:36 下午
 * @Version 1.0
 * @Description
 */
public class Product {

    private int price;
    private String color;

    public Product(int price, String color) {
        this.price = price;
        this.color = color;
    }

    public int getPrice() {
        return price;
    }

    public void setPrice(int price) {
        this.price = price;
    }

    public String getColor() {
        return color;
    }

    public void setColor(String color) {
        this.color = color;
    }

    @Override
    public String toString() {
        return "Product{" +
                "price=" + price +
                ", color='" + color + '\'' +
                '}';
    }
}
